home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / hotkey-setup / ibm.hk < prev    next >
Encoding:
Text File  |  2007-04-13  |  2.6 KB  |  59 lines

  1. # IBM/Lenovo ThinkPads
  2. setkeycodes    e05d    $KEY_WAKEUP    # Fn-click (Press & release with no action), observed on R52
  3. #setkeycodes    e063    $KEY_WAKEUP    # Fn-click (Press & release with no action), found on Google and LenovoPads  # Canonical mapping, commented out.
  4.  
  5. # ThinkPad A and S series
  6. #setkeycodes    e032    $KEY_WWW    # Home  # Canonical mapping, commented out.
  7. #setkeycodes    e065    $KEY_SEARCH     # Search  # Canonical mapping, commented out.
  8. #setkeycodes    e06c    $KEY_MAIL    # Mail [also: KEY_EMAIL]  # Canonical mapping, commented out.
  9.  
  10. # ThinkPad A-series
  11. #setkeycodes    e066    $KEY_BOOKMARKS    # Favorites  # Canonical mapping, commented out.
  12. #setkeycodes    e067    $KEY_REFRESH    # Reload  # Canonical mapping, commented out.
  13. #setkeycodes    e068    $KEY_STOP    # Abort  # Canonical mapping, commented out.
  14.  
  15. # ThinkPads from 2002 onwards
  16. #setkeycodes    e069    $KEY_BACK    # Back  # Canonical mapping, commented out.
  17. #setkeycodes    e06a    $KEY_FORWARD    # Forward  # Canonical mapping, commented out.
  18.  
  19. # X41 Tablet series only
  20. # L-to-R:  Scancodes have differing reports.  Are these correct?
  21. #   Power and Power lock (ACPI), Ctrl-Alt-Delete (recessed),
  22. #     Screen Rotate, Tablet Utility, Escape, Enter,
  23. #       Page Up, Page Down
  24. setkeycodes    67    $KEY_COFFEE    # Tablet Ctrl-Alt-Delete
  25. setkeycodes    6c    $KEY_DIRECTION    # Tablet Rotate
  26. setkeycodes    68    $KEY_SETUP    # Tablet Utility Menu
  27. setkeycodes    6b    $KEY_ESC    # Tablet Escape
  28. setkeycodes    69    $KEY_ENTER    # Tablet Enter
  29. setkeycodes    6d    $KEY_PAGEUP    # Tablet Up
  30. setkeycodes    6e    $KEY_PAGEDOWN    # Tablet Down
  31.  
  32. # New Lenovo *60* Series
  33.                     # Fn (e063)
  34.                     # Fn-PrtSc    SysRq (3854)
  35.                     # Fn-ScrLk    NumLk (45)
  36.                     # Fn-Pause    Break (e11d45)
  37.                     # Fn-Up     Media Stop (e024)
  38.                     # Fn-Down    Media PlayPause (e022)
  39.                     # Fn-Left    Media Previous (e019)
  40.                     # Fn-Right    Media Right (e010)
  41.  
  42. # Handled via a daemon:
  43. # DONE: Fn + Spacebar -> $KEY_ZOOM  (/dev/nvram, thinkpad-keys)
  44. # DONE: ThinkPad Button -> $KEY_PROG1  (/dev/nvram, thinkpad-keys)
  45. # DONE: ThinkPad R30, R31, R40e (Acer OEMs, no hardware mixer on these):
  46. # DONE: Map Volume Mute/Down/Up to KEY_MUTE, KEY_VOLUMEDOWN, KEY_VOLUMEUP (/dev/nvram, thinkpad-keys)
  47.  
  48. # TODO: Fix Num-Lock, work out what it's going on.
  49. #
  50. # ThinkPads internally map Shift+ScrollLock -> NumLock;  however shift key
  51. # is also down at this point, so the actual code that gets sent is  Shift+NumLock
  52. # and by default X maps  Shift+NumLock to Pointer_Emulation_Enable.
  53. # Shift+Scroll_Lock (0x45) to NumLock (77) and disable X's Pointer_EnableKeys
  54. #
  55. # Works in X with  xmodmap -e 'keycode 77 = Num_Lock'
  56. # Fixed in by removing Pointer_EnableKeys from the default policy in X
  57. # setkeycodes    45    $KEY_KP6      # ???
  58.  
  59.